package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 回帖对象 post_manage_reply
 * 
 * @author ruoyi
 * @date 2022-07-24
 */
public class PostManageReply extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 回帖类型（字典：reply_type） */
    @Excel(name = "回帖类型", readConverterExp = "字=典：reply_type")
    private String replyType;

    /** 父id */
    @Excel(name = "父id")
    private Long pid;

    /** 回帖内容 */
    @Excel(name = "回帖内容")
    private String replyContent;

    /** 回帖着 */
    @Excel(name = "回帖着")
    private Long replyUser;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setReplyType(String replyType) 
    {
        this.replyType = replyType;
    }

    public String getReplyType() 
    {
        return replyType;
    }
    public void setPid(Long pid) 
    {
        this.pid = pid;
    }

    public Long getPid() 
    {
        return pid;
    }
    public void setReplyContent(String replyContent) 
    {
        this.replyContent = replyContent;
    }

    public String getReplyContent() 
    {
        return replyContent;
    }
    public void setReplyUser(Long replyUser) 
    {
        this.replyUser = replyUser;
    }

    public Long getReplyUser() 
    {
        return replyUser;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("replyType", getReplyType())
            .append("pid", getPid())
            .append("replyContent", getReplyContent())
            .append("replyUser", getReplyUser())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
